struct _DIRECTORY_LIST {
	char **list;
	int size;

};

struct _DIRECTORY_SEARCH_INDEX {
	int *v;
	int size;
};


typedef struct _DIRECTORY_LIST * directoryList;
typedef struct _DIRECTORY_SEARCH_INDEX * searchIndex;

struct _DIRECTORY_LIST * getDirFileList(char *);
struct _DIRECTORY_SEARCH_INDEX * search(struct _DIRECTORY_LIST *, char *s);
int countFiles(char *);
